#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
****************************************************
Project:python
Filename: urls.py
Author:银河
Create: 2025/3/25 下午1:21 
Notes:
***************************************************
'''
from django.urls import path
from api.views import NiuYuanCodeView,NiuYuanCodeDetailView,NiuYuanCodeBatcDelView,NiuYuanCodeTypeView,NiuYuanCodeTypeDetailView

urlpatterns = [
    path('ny/code/', NiuYuanCodeView.as_view(),name='牛元码段展示与新增'),
    path('ny/code/<int:pk>/', NiuYuanCodeDetailView.as_view(),name='牛元码段单个查看更新删除'),
    path('ny/code/batc-del/', NiuYuanCodeBatcDelView.as_view(),name='牛元码段批量删除'),

    path('ny/code/type/', NiuYuanCodeTypeView.as_view(),name='牛元码段类别展示与新增'),
    path('ny/code/type/<int:pk>/', NiuYuanCodeTypeDetailView.as_view(),name='牛元码段类别单个查看更新删除'),
]